LOG_DIR="${HOME}/log"
LOG_FILE="log_print_deribit"

mkdir -p "${LOG_DIR}"

cd ../coin || exit

./pyrunner \
cc/appcoin2/strategy/py_strat/print_feed_strategy.py run \
--driver=<(echo '{
    "feed": {
        "common": {
            "type": "FEED_SYSTEM_TYPE_LIVE",
            "websocket": {
                "num_workers": 1
            },
        },
        "exchanges": {
            "Spot.Binance.v1": {
                "products": {
                    "norms":[
                        "BTC-USDT"
                    ]
                },
                "recipe": "l1_realtime"
            }
        }
    }
}')
# >> "${LOG_DIR}/${LOG_FILE}" 2>&1
